package cn.tedu._04mvcboot02.common.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    INSERT_SUCCESS(1000,"插入数据成功"),
    SELECT_ALL_SUCCESS(2000,"查询用户列表成功"),
    DELETE_SUCCESS(3000,"删除用户成功"),
    UPDATE_SUCCESS(4000,"修改用户成功"),
    SELECT_ID_SUCCESS(5000, "查询单个用户成功");
    private Integer code;
    private String msg;
}
